package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ByOrderEvalMapper;
import com.ruoyi.system.domain.ByOrderEval;
import com.ruoyi.system.service.IByOrderEvalService;

/**
 * 订单评价Service业务层处理
 *
 * @author ruoyi
 * @date 2023-12-28
 */
@Service
public class ByOrderEvalServiceImpl implements IByOrderEvalService
{
    @Autowired
    private ByOrderEvalMapper byOrderEvalMapper;

    /**
     * 查询订单评价
     *
     * @param id 订单评价主键
     * @return 订单评价
     */
    @Override
    public ByOrderEval selectByOrderEvalById(Long id)
    {
        return byOrderEvalMapper.selectByOrderEvalById(id);
    }

    /**
     * 查询订单评价列表
     *
     * @param byOrderEval 订单评价
     * @return 订单评价
     */
    @Override
    public List<ByOrderEval> selectByOrderEvalList(ByOrderEval byOrderEval)
    {
        return byOrderEvalMapper.selectOrderEvalList(byOrderEval);
    }
}
